﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using SaiLing.SingleSignOn.Domain.Entities.DataTransferObject;
using SaiLing.SingleSignOn.Domain.Entities.System;
using SaiLing.Paging;

namespace SaiLing.SingleSignOn.Application.Service.Interfaces.System
{
    public  interface IModuleService:IBaseService<Module>
    {
        Task Create(Module entity, LogUser logUser);


        Task<PageData<ModuleDTO>> PageList(int pageIndex, int pageSize, string name,Guid appid);

        Task<IEnumerable<Module>> List(string name,Guid appid);


        Task<int> Edit(Module entity);

        Task<int> Delete(Module[] entityies);

        List<Module> GetAllModuleByAction(List<Guid> lstActionId);
    }
}
